<?php

include("../config.php");

$db->query("insert into test values ('%s', %d)", "sdf'sfds'dfds'df\\'fdf'", 33);
$result = $db->query("select * from test where age=%d", 33);

while (($row = $db->fetch_assoc($result))) {
	print_r($row);
}